#include <stdio.h>
#include <stdlib.h>
#include <sysfs/libsysfs.h>
#include <gtk/gtk.h>

typedef struct s{
    char name[10];
    struct s* pr;
} *dev;

typedef struct t { 
   GtkWidget *checkDhcp;
   GtkWidget *txtIpAddress;
   GtkWidget *txtSubnetMask;
   GtkWidget *txtGatewayAddress;
   GtkWidget *txtDnsAddress;
   GtkWidget *cmbInterface;
} NetworkWidgetsBundle;

extern int  sysfs(dev*);
extern  int dhcp(char f[]);
extern gchar* text_combo(char f[]);
extern int col_combo(GtkWidget *combo, char f[]);

